Use simpler mode for open() on Windows. (No S_I?GRP and S_I?OTH bits are
authorTor Lillqvist <tml@novell.com>
Tue, 27 May 2008 13:03:49 +0000 (13:03 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Tue, 27 May 2008 13:03:49 +0000 (13:03 +0000)
commitff89f9050dc14b54292185747e72b01f8bc88c86
tree9c3b401d9c298d3e7b59244a8a3d3e94eb0ce43f
parent4449e5032c960e324604ea1b8e482b83c5ad429a
Use simpler mode for open() on Windows. (No S_I?GRP and S_I?OTH bits are

2008-05-27  Tor Lillqvist  <tml@novell.com>

* gtk/updateiconcache.c (build_cache): Use simpler mode for open()
on Windows. (No S_I?GRP and S_I?OTH bits are defined in
<sys/stat.h> on Windows, and the mode used in open() doesn't
matter much as there are no rwxrwxrwx bits on Windows anyway.)
Open file in binary mode. Passing "b" to fdopen() later isn't
enough.

svn path=/trunk/; revision=20190
ChangeLog
gtk/updateiconcache.c